package com.geeaks.mybatis.generator.util;

import java.sql.Connection;
import java.sql.DriverManager;

/**
 * @Description: sqllite3连接配置
 * @author gaoxiang
 * @date 2018年4月15日 下午9:59:25
 */
public class ConnectionManager {

	private static final String DB_URL = "jdbc:sqlite:./sqlite3.db";

	public static Connection getConnection() throws Exception {
		Class.forName("org.sqlite.JDBC");
		Connection conn = DriverManager.getConnection(DB_URL);
		return conn;
	}
}
